import React, { PureComponent } from 'react'
import PropTypes from 'prop-types'
import { Tabs, Tab } from '../components/Tabs'
import withContext from '../withContext'

export class CreatePage extends PureComponent {
  constructor(props) {
    super(props)
    this.state = {}
  }
  componentDidMount() {

  }

  render() {
    const { data } = this.props
    return (
      <div className="create-page py-3 px-3 rounded mt-3">
        <Tabs activeIndex={} onTabChange={}>
          <Tab>支出</Tab>
          <Tab>收入</Tab>
        </Tabs>
      </div>
    )
  }
}

CreatePage.propTypes = {
  data: PropTypes.object.isRequired,
  actions: PropTypes.object.isRequired,
  history: PropTypes.object,
  match: PropTypes.object,
}

export default withContext(CreatePage)